package com.yunti.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunti.springboot.po.ScoreRule;
import com.yunti.springboot.vo.Result;
import com.yunti.springboot.vo.req.ClassOverViewReq;
import com.yunti.springboot.vo.req.ScoreCollectReq;
import com.yunti.springboot.vo.req.ScoreTableReq;
import com.yunti.springboot.vo.req.UpdateScoreReq;
import org.springframework.stereotype.Service;
import com.yunti.springboot.po.Score;

import javax.servlet.http.HttpServletResponse;

@Service
public interface ScoreService extends IService<Score> {
    Result updateScore(UpdateScoreReq updateScoreReq);

    void downloadScore(ScoreTableReq scoreTableReq, HttpServletResponse response);

    Result getClassOverView(ClassOverViewReq classOverViewReq);

    Result getScoreCollect(ScoreCollectReq req);

    Result downScoreCollect(ScoreCollectReq req, HttpServletResponse response);
}
